import numpy as np

A = np.array([[1, 2, 3], [4, 5, 6], [7, 8, 9]])

print(A)
print(A.shape)

B = A

C = np.array([[1, 2], [3, 4], [5, 6]])
D = np.array([[1], [2], [3]])
print("B:", B)
print("C:", C)
print("D:", D)

print(B.shape)
print(C.shape)
print(D.shape)

E = A + B
print("E:", E)
print(E.shape)

F = A - B
print("F:", F)

G = np.dot(A, B)
print("G:", G)

H = -A
print("H:", H)

I = np.dot(A, D)
print("I:", I)

J = np.dot(A, C)
print("J:", J)
print(J.shape)
